enqueueScripts([function(){ (window.webpackJsonpvtex_overlay_layout_0_1_3=window.webpackJsonpvtex_overlay_layout_0_1_3||[]).push([[0],{14:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return d}));var i=n(23),a=n(24),s=(n(19),n(0)),o=n.n(s),r=n(16),u=n.n(r),l=!1,p=o.a.createContext(null),c="entering",d="entered",h=function(t){function e(e,n){var i;i=t.call(this,e,n)||this;var a,s=n&&!n.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?s?(a="exited",i.appearStatus=c):a=d:a=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",i.state={status:a},i.nextCallback=null,i}Object(a.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==c&&n!==d&&(e=c):n!==c&&n!==d||(e="exiting")}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,i=this.props.timeout;return t=e=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,e=i.enter,n=void 0!==i.appear?i.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var n=u.a.findDOMNode(this);e===c?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(t,e){var n=this,i=this.props.enter,a=this.context?this.context.isMounting:e,s=this.getTimeouts(),o=a?s.appear:s.enter;!e&&!i||l?this.safeSetState({status:d},(function(){n.props.onEntered(t)})):(this.props.onEnter(t,a),this.safeSetState({status:c},(function(){n.props.onEntering(t,a),n.onTransitionEnd(t,o,(function(){n.safeSetState({status:d},(function(){n.props.onEntered(t,a)}))}))})))},n.performExit=function(t){var e=this,n=this.props.exit,i=this.getTimeouts();n&&!l?(this.props.onExit(t),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(t),e.onTransitionEnd(t,i.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,e.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e,n){this.setNextCallback(n);var i=null==e&&!this.props.addEndListener;t&&!i?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,n=e.children,a=Object(i.a)(e,["children"]);if(delete a.in,delete a.mountOnEnter,delete a.unmountOnExit,delete a.appear,delete a.enter,delete a.exit,delete a.timeout,delete a.addEndListener,delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,"function"==typeof n)return o.a.createElement(p.Provider,{value:null},n(t,a));var s=o.a.Children.only(n);return o.a.createElement(p.Provider,{value:null},o.a.cloneElement(s,a))},e}(o.a.Component);function x(){}h.contextType=p,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;e.c=h}}]); },function(){ (window.webpackJsonpvtex_overlay_layout_0_1_3=window.webpackJsonpvtex_overlay_layout_0_1_3||[]).push([[2],{22:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};function f(e,t,n,r){e.__consolidated_events_handlers__||(e.__consolidated_events_handlers__=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e.__consolidated_events_handlers__.add(t,n,o)}},25:function(e,t,n){"use strict";function r(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function o(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function i(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function a(e){return e instanceof o(e).Element||e instanceof Element}function s(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function f(e){return e?(e.nodeName||"").toLowerCase():null}function c(e){return(a(e)?e.ownerDocument:e.document).documentElement}function p(e){return r(c(e)).left+i(e).scrollLeft}function u(e,t,n){var a;void 0===n&&(n=!1);var u,d,l=r(e),h={scrollLeft:0,scrollTop:0},m={x:0,y:0};return n||("body"!==f(t)&&(h=(u=t)!==o(u)&&s(u)?{scrollLeft:(d=u).scrollLeft,scrollTop:d.scrollTop}:i(u)),s(t)?((m=r(t)).x+=t.clientLeft,m.y+=t.clientTop):(a=c(t))&&(m.x=p(a))),{x:l.left+h.scrollLeft-m.x,y:l.top+h.scrollTop-m.y,width:l.width,height:l.height}}function d(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function l(e){return"html"===f(e)?e:e.parentNode||e.host||document.ownerDocument||document.documentElement}function h(e){return o(e).getComputedStyle(e)}function m(e,t){void 0===t&&(t=[]);var n=function e(t){if(["html","body","#document"].indexOf(f(t))>=0)return t.ownerDocument.body;if(s(t)){var n=h(t),r=n.overflow,o=n.overflowX,i=n.overflowY;if(/auto|scroll|overlay|hidden/.test(r+i+o))return t}return e(l(t))}(e),r="body"===f(n),i=r?o(n):n,a=t.concat(i);return r?a:a.concat(m(l(i)))}function v(e){return["table","td","th"].indexOf(f(e))>=0}function g(e){return s(e)&&"fixed"!==h(e).position?e.offsetParent:null}function y(e){for(var t=o(e),n=g(e);n&&v(n);)n=g(n);return n&&"body"===f(n)&&"static"===h(n).position?t:n||t}n.d(t,"a",(function(){return ee}));var b="top",w="bottom",x="right",O="left",E=[b,w,x,O],j=E.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),_=[].concat(E,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),M=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var L={placement:"bottom",modifiers:[],strategy:"absolute"};function H(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function R(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?B(o):null,a=o?W(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case b:t={x:s,y:n.y-r.height};break;case w:t={x:s,y:n.y+n.height};break;case x:t={x:n.x+n.width,y:f};break;case O:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?T(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case"start":t[c]=Math.floor(t[c])-Math.floor(n[p]/2-r[p]/2);break;case"end":t[c]=Math.floor(t[c])+Math.ceil(n[p]/2-r[p]/2)}}return t}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function q(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.offsets,s=e.position,f=e.gpuAcceleration,p=e.adaptive,u=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(a),d=u.x,l=u.y,h=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),v=O,g=b,E=window;if(p){var j=y(n);j===o(n)&&(j=c(n)),i===b&&(g=w,l-=j.clientHeight-r.height,l*=f?1:-1),i===O&&(v=x,d-=j.clientWidth-r.width,d*=f?1:-1)}var _,M=Object.assign({position:s},p&&S);return f?Object.assign({},M,((_={})[g]=m?"0":"",_[v]=h?"0":"",_.transform=(E.devicePixelRatio||1)<2?"translate("+d+"px, "+l+"px)":"translate3d("+d+"px, "+l+"px, 0)",_)):Object.assign({},M,((t={})[g]=m?l+"px":"",t[v]=h?d+"px":"",t.transform="",t))}var A={left:"right",right:"left",bottom:"top",top:"bottom"};function C(e){return e.replace(/left|right|bottom|top/g,(function(e){return A[e]}))}var N={start:"end",end:"start"};function I(e){return e.replace(/start|end/g,(function(e){return N[e]}))}function U(e){return parseFloat(e)||0}function V(e){var t=o(e),n=function(e){var t=s(e)?h(e):{};return{top:U(t.borderTopWidth),right:U(t.borderRightWidth),bottom:U(t.borderBottomWidth),left:U(t.borderLeftWidth)}}(e),r="html"===f(e),i=p(e),a=e.clientWidth+n.right,c=e.clientHeight+n.bottom;return r&&t.innerHeight-e.clientHeight>50&&(c=t.innerHeight-n.bottom),{top:r?0:e.clientTop,right:e.clientLeft>n.left?n.right:r?t.innerWidth-a-i:e.offsetWidth-a,bottom:r?t.innerHeight-c:e.offsetHeight-c,left:r?i:e.clientLeft}}function z(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function F(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function J(e,t){return"viewport"===t?F(function(e){var t=o(e);return{width:t.innerWidth,height:t.innerHeight,x:0,y:0}}(e)):s(t)?r(t):F(function(e){var t=o(e),n=i(e),r=u(c(e),t);return r.height=Math.max(r.height,t.innerHeight),r.width=Math.max(r.width,t.innerWidth),r.x=-n.scrollLeft,r.y=-n.scrollTop,r}(c(e)))}function X(e,t,n){var r="clippingParents"===t?function(e){var t=m(e),n=["absolute","fixed"].indexOf(h(e).position)>=0&&s(e)?y(e):e;return a(n)?t.filter((function(e){return a(e)&&z(e,n)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],f=o.reduce((function(t,n){var r=J(e,n),o=V(s(n)?n:c(e));return t.top=Math.max(r.top+o.top,t.top),t.right=Math.min(r.right-o.right,t.right),t.bottom=Math.min(r.bottom-o.bottom,t.bottom),t.left=Math.max(r.left+o.left,t.left),t}),J(e,i));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function K(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,s=n.boundary,f=void 0===s?"clippingParents":s,p=n.rootBoundary,u=void 0===p?"viewport":p,d=n.elementContext,l=void 0===d?"popper":d,h=n.altBoundary,m=void 0!==h&&h,v=n.padding,g=void 0===v?0:v,y=Y("number"!=typeof g?g:G(g,E)),O="popper"===l?"reference":"popper",j=e.elements.reference,_=e.rects.popper,M=e.elements[m?O:l],D=X(a(M)?M:M.contextElement||c(e.elements.popper),f,u),L=r(j),H=R({reference:L,element:_,strategy:"absolute",placement:i}),k=F(Object.assign({},_,{},H)),P="popper"===l?k:L,B={top:D.top-P.top+y.top,bottom:P.bottom-D.bottom+y.bottom,left:D.left-P.left+y.left,right:P.right-D.right+y.right},W=e.modifiersData.offset;if("popper"===l&&W){var T=W[i];Object.keys(B).forEach((function(e){var t=[x,w].indexOf(e)>=0?1:-1,n=[b,w].indexOf(e)>=0?"y":"x";B[e]+=T[n]*t}))}return B}function Q(e,t,n){return Math.max(e,Math.min(t,n))}function Z(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function $(e){return[b,x,w,O].some((function(t){return e[t]>=0}))}var ee=k({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,s=r.resize,f=void 0===s||s,c=o(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",n.update,P)})),f&&c.addEventListener("resize",n.update,P),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",n.update,P)})),f&&c.removeEventListener("resize",n.update,P)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=R({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s={placement:B(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};t.styles.popper=Object.assign({},t.styles.popper,{},q(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a}))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},q(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];s(o)&&f(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(r)&&f(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=_.reduce((function(e,n){return e[n]=function(e,t,n){var r=B(e),o=[O,b].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[O,x].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c,t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.fallbackPlacements,i=n.padding,a=n.boundary,s=n.rootBoundary,f=n.altBoundary,c=n.flipVariations,p=void 0===c||c,u=t.options.placement,d=B(u),l=o||(d===u||!p?[C(u)]:function(e){if("auto"===B(e))return[];var t=C(e);return[I(e),t,I(t)]}(u)),h=[u].concat(l).reduce((function(e,n){return e.concat("auto"===B(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=W(r),c=(f?s?j:j.filter((function(e){return W(e)===f})):E).reduce((function(t,n){return t[n]=K(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[B(n)],t}),{});return Object.keys(c).sort((function(e,t){return c[e]-c[t]}))}(t,{placement:n,boundary:a,rootBoundary:s,padding:i,flipVariations:p}):n)}),[]),m=t.rects.reference,v=t.rects.popper,g=new Map,y=!0,_=h[0],M=0;M=0,P=k?"width":"height",T=K(t,{placement:D,boundary:a,rootBoundary:s,altBoundary:f,padding:i}),R=k?H?x:O:H?w:b;m[P]>v[P]&&(R=C(R));var S=C(R),q=[T[L]<=0,T[R]<=0,T[S]<=0];if(q.every((function(e){return e}))){_=D,y=!1;break}g.set(D,q)}if(y)for(var A=function(e){var t=h.find((function(t){var n=g.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},N=p?3:1;N>0;N--){if("break"===A(N))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,f=n.boundary,c=n.rootBoundary,p=n.altBoundary,u=n.padding,l=n.tether,h=void 0===l||l,m=n.tetherOffset,v=void 0===m?0:m,g=K(t,{boundary:f,rootBoundary:c,padding:u,altBoundary:p}),E=B(t.placement),j=W(t.placement),_=!j,M=T(E),D="x"===M?"y":"x",L=t.modifiersData.popperOffsets,H=t.rects.reference,k=t.rects.popper,P="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,R={x:0,y:0};if(i){var S="y"===M?b:O,q="y"===M?w:x,A="y"===M?"height":"width",C=L[M],N=L[M]+g[S],I=L[M]-g[q],U=h?-k[A]/2:0,V="start"===j?H[A]:k[A],z="start"===j?-k[A]:-H[A],F=t.elements.arrow,J=h&&F?d(F):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[S],G=X[q],Z=Q(0,H[A],J[A]),$=_?H[A]/2-U-Z-Y-P:V-Z-Y-P,ee=_?-H[A]/2+U+Z+G+P:z+Z+G+P,te=t.elements.arrow&&y(t.elements.arrow),ne=te?"y"===M?te.clientTop||0:te.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][M]:0,oe=L[M]+$-re-ne,ie=L[M]+ee-re,ae=Q(h?Math.min(N,oe):N,C,h?Math.max(I,ie):I);L[M]=ae,R[M]=ae-C}if(s){var se="x"===M?b:O,fe="x"===M?w:x,ce=L[D],pe=Q(ce+g[se],ce,ce-g[fe]);t.modifiersData.popperOffsets[D]=pe,R[D]=pe-ce}t.modifiersData[r]=R},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=B(n.placement),s=T(a),f=[O,x].indexOf(a)>=0?"height":"width";if(o){var c=n.modifiersData[r+"#persistent"].padding,p=d(o),u="y"===s?b:O,l="y"===s?w:x,h=n.rects.reference[f]+n.rects.reference[s]-i[s]-n.rects.popper[f],m=i[s]-n.rects.reference[s],v=n.elements.arrow&&y(n.elements.arrow),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,E=h/2-m/2,j=c[u],_=g-p[f]-c[l],M=g/2-p[f]/2+E,D=Q(j,M,_),L=s;n.modifiersData[r]=((t={})[L]=D,t.centerOffset=D-M,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&z(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Y("number"!=typeof s?s:G(s,E))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=K(t,{elementContext:"reference"}),s=K(t,{altBoundary:!0}),f=Z(a,r),c=Z(s,o,i),p=$(f),u=$(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}}]})}}]); },function(){ (window.webpackJsonpvtex_overlay_layout_0_1_3=window.webpackJsonpvtex_overlay_layout_0_1_3||[]).push([[1],[,,function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(2);function a(e,t){return Object(r.useMemo)((function(){return e||t?function(n){Object(o.a)(e,n),Object(o.a)(t,n)}:null}),[e,t])}},function(e,t,n){"use strict";n.r(t),n.d(t,"OverlayContextProvider",(function(){return d})),n.d(t,"useOverlayDispatch",(function(){return f})),n.d(t,"useOverlayState",(function(){return p}));var r=n(8),o=n(0),a=n.n(o),c={open:!1,exited:!1,containerRef:null,triggerMode:"click"},i=function(){},u=Object(o.createContext)(c),l=Object(o.createContext)(i);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_OVERLAY":return Object.assign(Object.assign({},e),{open:!0});case"CLOSE_OVERLAY":return Object.assign(Object.assign({},e),{open:!1});case"SET_CONTAINER_REF":return Object.assign(Object.assign({},e),{containerRef:t.payload.containerRef});case"SET_TRIGGER_MODE":return Object.assign(Object.assign({},e),{triggerMode:t.payload.triggerMode});case"SET_EXITED":return Object.assign(Object.assign({},e),{exited:t.payload.exited});default:return e}}var d=function(e){var t=e.children,n=Object(o.useReducer)(s,c),i=Object(r.a)(n,2),d=i[0],f=i[1];return a.a.createElement(u.Provider,{value:d},a.a.createElement(l.Provider,{value:f},t))};function f(){return Object(o.useContext)(l)}function p(){var e=Object(o.useContext)(u);if(void 0===e)throw Error("useOverlayState must be used within a OverlayStateContext");return e}t.default={useOverlayState:p,useOverlayDispatch:f}},,function(e,t,n){e.exports={backdropContainer:"vtex-overlay-layout-0-x-backdropContainer",backdrop:"vtex-overlay-layout-0-x-backdrop",dropdown:"vtex-overlay-layout-0-x-dropdown",arrow:"vtex-overlay-layout-0-x-arrow",popperArrow:"vtex-overlay-layout-0-x-popperArrow"}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||window.document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(4),o=n(0),a=n.n(o),c=n(14),i=250,u=218,l=300,s="cubic-bezier(0.4, 0, 0.2, 1)",d=function(e){return"".concat(Math.round(e),"ms")};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delay,r=void 0===n?0:n,o=t.easing,a=void 0===o?s:o,c=t.duration,i=void 0===c?l:c;return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof i?i:d(i)," ").concat(a," ").concat("string"==typeof r?r:d(r))})).join(",")}var p=n(18);function b(e,t){var n=e.timeout,r=0;return"number"==typeof n?r=n:"object"===Object(p.a)(n)&&t&&n[t.mode]&&(r=n[t.mode]),{duration:r}}var v=n(6),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);on.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function _(e){var t,n=[];if(P(e)){var r=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();n.push({value:e.style.paddingRight,key:"padding-right",el:e}),e.style.paddingRight="".concat((t=e,(parseInt(window.getComputedStyle(t).paddingRight,10)||0)+r),"px")}var o=e.parentElement,a="HTML"===(null==o?void 0:o.nodeName)&&"scroll"===window.getComputedStyle(o).overflowY?o:e;n.push({value:a.style.overflow,key:"overflow",el:a}),a.style.overflow="hidden";return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.key;n&&(t?n.style.setProperty(r,t):n.style.removeProperty(r))}))}}var N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0?r=o[i=d]:0!==n?(i=0,r=0):e&&(r=o[i=d]),l&&l({type:"SLIDE",payload:{currentSlide:i,transform:r}}),s({type:"SLIDE",payload:{transform:r,currentSlide:i}})}}},j=function(e){var t=Object(r.useState)(!1),n=Object(g.a)(t,2),i=n[0],a=n[1],o=Object(S.useSliderGroupState)(),s=Object(S.useSliderGroupDispatch)();return Object(r.useEffect)((function(){var t=function(){null==s||s({type:"HOVER",payload:{isHovering:!0}}),a(!0)},n=function(){null==s||s({type:"HOVER",payload:{isHovering:!1}}),a(!1)};return(null==e?void 0:e.current)&&(e.current.addEventListener("mouseenter",t),e.current.addEventListener("mouseleave",n)),function(){var i=e.current;i&&(i.removeEventListener("mouseenter",t),i.removeEventListener("mouseleave",n))}}),[e,s]),(null==o?void 0:o.isHovering)?{isHovering:!0}:{isHovering:i}},T=n(14),_=n.n(T)()(X),I=_.CssHandlesProvider,M=_.useContextCssHandles,N=function(e,t){return t%e==0?"firstVisible":(t+1)%e==0?"lastVisible":""},x=function(e){return a.a.Children.toArray(a.a.Children.map(e,(function(e){return"string"==typeof e||"number"==typeof e?e:Object(r.cloneElement)(e,Object.assign(Object.assign({},e.props),{__isDuplicated:!0}))})))},C=function(e){var t=e.infinite,n=e.usePagination,s=e.centerMode,l=e.centerModeSlidesGap,d=e.totalItems,c=e.children,u=P(),f=u.slideWidth,v=u.slidesPerPage,p=u.currentSlide,m=u.isOnTouchMove,g=u.useSlidingTransitionEffect,y=u.slideTransition,h=y.speed,b=y.timing,O=y.delay,w=u.transformMap,j=u.transform,T=E(),_=Object(o.useIntl)(),I=Object(S.useSliderGroupDispatch)(),C=M(),D=C.handles,R=C.withModifiers,A=function(e){var t=e.currentSlide,n=e.slidesPerPage,i=e.totalItems,a=e.centerMode,o=Object(r.useRef)(new Set);Object(r.useEffect)((function(){for(var e=0;e=n&&t=n&&t+1=n&&t-1=r)}({index:e,currentSlide:t,slidesToShow:n,totalItems:i,centerMode:a})};return{shouldRenderItem:function(e){return o.current.has(e)||s(e)},isItemVisible:s}}({currentSlide:p,slidesPerPage:v,totalItems:d,centerMode:s}),L=A.shouldRenderItem,k=A.isItemVisible,H=t&&c?x(c).slice(0,v):[],U=(t&&c?x(c).slice(c.length-v):[]).concat(null!=c?c:[],H),G=v<=d?"".concat(100*U.length/v,"%"):"100%";return a.a.createElement("div",{"data-testid":"slider-track",className:"".concat(D.sliderTrack," flex ").concat("disabled"!==s?"":"justify-around"," relative pa0 ma0"),style:{transition:m||!g?void 0:"transform ".concat(h,"ms ").concat(b," ").concat(O,"ms"),transform:"translate3d(".concat(m?j:w[p],"%, 0, 0)"),width:G},onTransitionEnd:function(){T({type:"DISABLE_TRANSITION"}),p>=d&&(T({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:0,transform:w[0]}}),null==I||I({type:"SLIDE",payload:{currentSlide:0,transform:w[0]}})),p<0&&(T({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:p+d,transform:w[p+d]}}),null==I||I({type:"SLIDE",payload:{currentSlide:p+d,transform:w[p+d]}}))},"aria-atomic":"false","aria-live":"polite"},U.map((function(e,r){var o=r-(t?v:0),c={width:"".concat(f,"%"),marginLeft:"disabled"===s||l?void 0:"".concat(f/(8*v),"%"),marginRight:"disabled"===s||l?void 0:"".concat(f/(8*v),"%"),paddingLeft:"disabled"!==s&&l?l/2:void 0,paddingRight:"disabled"!==s&&l?l/2:void 0};return a.a.createElement("div",Object(i.a)({key:o},function(e){var t=e.visible,n=e.index,i=e.totalItems,r=e.intl;return n<0||n>=i?{"aria-hidden":!t,role:"none presentation"}:{"aria-hidden":!t,role:"group","aria-roledescription":"slide","aria-label":"".concat(r.formatMessage({id:"store/slider-layout.sliderTrack.aria-label"},{slide:n+1,total:i}))}}({visible:k(o),index:o,totalItems:d,intl:_}),{className:"".concat(R("slide",[N(v,o),k(o)?"visible":"hidden"])," flex relative"),"data-index":o>=0&&o0?u(i):c(i)};return a.a.createElement("div",{className:"".concat(p.paginationDotsContainer," flex absolute justify-center pa0 ma0 bottom-0 left-0 right-0"),role:"group","aria-label":"Slider pagination dots"},S.map((function(e){var n=e===H(g,s,o);return a.a.createElement("div",{className:"".concat(m("paginationDot",n?"isActive":"")," ").concat(n?"bg-emphasis":"bg-muted-3"," grow dib br-100 pa2 mr2 ml2 bw0 pointer outline-0"),style:{height:"".concat(.625,"rem"),width:"".concat(.625,"rem")},key:e,tabIndex:n?0:-1,onKeyDown:function(t){return y(t,e)},onClick:function(t){return y(t,e)},role:"button","aria-controls":t,"aria-label":"Dot ".concat(e+1," of ").concat(S.length),"data-testid":"paginationDot"})})))},G=Object(r.memo)(U),W=["sliderLayoutContainer","sliderTrackContainer"].concat(Object(v.a)(["sliderTrack","slide","slideChildrenContainer"]),Object(v.a)(["sliderLeftArrow","sliderRightArrow","sliderArrows"]),Object(v.a)(["paginationDotsContainer","paginationDot"])),z=function(e){var t=e.children,n=e.totalItems,i=e.infinite,o=void 0!==i&&i,s=e.showNavigationArrows,l=e.showPaginationDots,d=e.usePagination,c=void 0===d||d,u=e.arrowSize,f=e.fullWidth,v=e.itemsPerPage,p=e.centerMode,S=e.centerModeSlidesGap,y=M().handles,h=m()().isMobile,b=P(),O=b.label,T=void 0===O?"slider":O,_=b.slidesPerPage,I=Object(r.useRef)(null),N=function(e){var t=e.infinite,n=e.centerMode,i=E(),a=P().transform,o=w(t),s=o.goForward,l=o.goBack,d=Object(r.useState)({touchStartX:0,touchInitialTransform:a}),c=Object(g.a)(d,2),u=c[0],f=c[1];return{onTouchEnd:function(e){var t=e.changedTouches[0].clientX-u.touchStartX;Math.abs(t)>75?(t>0&&l(),t<0&&s()):i({type:"TOUCH",payload:{transform:u.touchInitialTransform,isOnTouchMove:!1}}),f({touchStartX:0,touchInitialTransform:a}),i({type:"TOUCH",payload:{isOnTouchMove:!1}})},onTouchStart:function(e){var t=e.touches[0].clientX;f({touchStartX:t,touchInitialTransform:a})},onTouchMove:function(e){var t=e.touches[0].clientX-u.touchStartX,r=u.touchInitialTransform+t/(25*("disabled"!==n?2:1));i({type:"TOUCH",payload:{transform:r,isOnTouchMove:!0}})}}}({infinite:o,centerMode:p}),x=N.onTouchEnd,D=N.onTouchStart,R=N.onTouchMove;!function(e,t){var n=P().autoplay,i=j(t).isHovering,a=(null==n?void 0:n.stopOnHover)&&i,o=w(e).goForward;Object(r.useEffect)((function(){if(n){var e=setTimeout((function(){o()}),n.timeout);return a&&clearTimeout(e),function(){return clearTimeout(e)}}}),[o,a,n])}(o,I),function(e,t){var n=P(),i=n.navigationStep,a=n.isPageNavigationStep,o=n.totalItems,s=E();Object(r.useEffect)((function(){var n=o<=t?o:t,r=a?n:i,l=function(e){s({type:"ADJUST_ON_RESIZE",payload:{shouldCorrectItemPosition:e,slidesPerPage:n,navigationStep:r}})},d=function(t){l(!t||e)};return l(!1),window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[e,s,o,t,a,i])}(o,v);var A=_>=n,L="".concat(T.toLowerCase().trim().replace(/ /g,"-"),"-items-").concat(Math.random().toString(36).substring(2,9)),H=Boolean(("always"===s||"mobileOnly"===s&&h||"desktopOnly"===s&&!h)&&!A),U=Boolean(("always"===l||"mobileOnly"===l&&h||"desktopOnly"===l&&!h)&&!A);return a.a.createElement("section",{onTouchStart:function(e){return c&&!A?D(e):null},onTouchEnd:function(e){return c&&!A?x(e):null},onTouchMove:function(e){return c&&!A?R(e):null},"aria-label":T,id:L,style:{WebkitOverflowScrolling:c?void 0:"touch",paddingLeft:f?void 0:2*u,paddingRight:f?void 0:2*u,touchAction:"pan-y"},className:"w-100 flex items-center relative ".concat(y.sliderLayoutContainer)},a.a.createElement("div",{className:"w-100 ".concat(y.sliderTrackContainer," ").concat(c?"overflow-hidden":"overflow-x-scroll"),ref:I},a.a.createElement(C,{centerMode:p,centerModeSlidesGap:S,infinite:o,totalItems:n,usePagination:c},t)),H&&c&&a.a.createElement(r.Fragment,null,a.a.createElement(k,{totalItems:n,orientation:"left",controls:L,infinite:o,arrowSize:u}),a.a.createElement(k,{totalItems:n,orientation:"right",controls:L,infinite:o,arrowSize:u})),U&&c&&a.a.createElement(G,{totalItems:n,controls:L,infinite:o}))},F=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);rt.length)&&(n=t.length);for(var e=0,r=new Array(n);e=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}e.d(n,"a",(function(){return r}))}]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([["ModalTrigger"],{0:function(e,t){e.exports=React},11:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixelEventCallback"]},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return O}));var a=n(4),o=n(0),r=n.n(o),c={open:!1,endOfContent:!1},i=Object(o.createContext)(c),s=Object(o.createContext)((function(){}));function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return Object.assign(Object.assign({},e),{open:!0});case"CLOSE_MODAL":return Object.assign(Object.assign({},e),{open:!1});case"SET_END_OF_CONTENT":return Object.assign(Object.assign({},e),{endOfContent:t.payload.endOfContent});default:return e}}function l(e){var t=e.children,n=e.initialState,l=void 0===n?void 0:n,d=Object(o.useReducer)(u,null!=l?l:c),O=Object(a.a)(d,2),f=O[0],v=O[1];return r.a.createElement(i.Provider,{value:f},r.a.createElement(s.Provider,{value:v},t))}function d(){return Object(o.useContext)(s)}function O(){var e=Object(o.useContext)(i);if(void 0===e)throw Error("useModalState must be used within a ModalStateContext");return e}},38:function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.modal-layout@0.14.1");var a=Object(t.register)((function(){return n(39)}),e,"vtex.modal-layout@0.14.1","vtex.modal-layout@0.x","ModalTrigger");a.renderHotReload,a.setupHMR}.call(this,n(7)(e))},39:function(e,t,n){"use strict";n.r(t);var a=n(4),o=n(0),r=n.n(o),c=n(5),i=n.n(c),s=n(11),u=n.n(s),l=n(2),d=["triggerContainer"];function O(e){var t=e.children,n=e.trigger,c=void 0===n?"click":n,s=e.customPixelEventId,O=e.customPixelEventName,f=e.classes,v=Object(l.b)(),_=i()(d,{classes:f}).handles,b=Object(o.useState)(!1),p=Object(a.a)(b,2),g=p[0],E=p[1];u()({eventId:s,eventName:O,handler:function(){v({type:"OPEN_MODAL"})}}),Object(o.useEffect)((function(){if(!g&&v){if("load-session"===c){if("true"===sessionStorage.getItem("hasOpenedModal"))return;sessionStorage.setItem("hasOpenedModal","true")}"load-session"!==c&&"load"!==c||(v({type:"OPEN_MODAL"}),E(!0))}}),[c,v,g]);return"click"===c?r.a.createElement("div",{tabIndex:0,role:"button",onKeyDown:function(e){"Enter"===e.key&&(e.stopPropagation(),v&&v({type:"OPEN_MODAL"}))},onClick:function(e){e.preventDefault(),e.stopPropagation(),v&&v({type:"OPEN_MODAL"})},className:"".concat(_.triggerContainer," bg-transparent pa0 bw0 dib")},t):r.a.createElement(r.a.Fragment,null,t)}t.default=function(e){return r.a.createElement(l.a,null,r.a.createElement(O,e,e.children))}},5:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]}},[[38,"common"]]]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([["ModalContext"],{0:function(t,e){t.exports=React},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return O}));var o=n(4),a=n(0),r=n.n(a),c={open:!1,endOfContent:!1},u=Object(a.createContext)(c),i=Object(a.createContext)((function(){}));function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"OPEN_MODAL":return Object.assign(Object.assign({},t),{open:!0});case"CLOSE_MODAL":return Object.assign(Object.assign({},t),{open:!1});case"SET_END_OF_CONTENT":return Object.assign(Object.assign({},t),{endOfContent:e.payload.endOfContent});default:return t}}function d(t){var e=t.children,n=t.initialState,d=void 0===n?void 0:n,l=Object(a.useReducer)(s,null!=d?d:c),O=Object(o.a)(l,2),v=O[0],b=O[1];return r.a.createElement(u.Provider,{value:v},r.a.createElement(i.Provider,{value:b},e))}function l(){return Object(a.useContext)(i)}function O(){var t=Object(a.useContext)(u);if(void 0===t)throw Error("useModalState must be used within a ModalStateContext");return t}},34:function(t,e,n){"use strict";n.r(e),function(t){var e=n(1);n.p=Object(e.getPublicPath)("vtex.modal-layout@0.14.1");var o=Object(e.register)((function(){return n(35)}),t,"vtex.modal-layout@0.14.1","vtex.modal-layout@0.x","ModalContext");o.renderHotReload,o.setupHMR}.call(this,n(7)(t))},35:function(t,e,n){"use strict";n.r(e);var o=n(2);e.default={useModalDispatch:o.b,ModalContextProvider:o.a}}},[[34,"common"]]]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([[1],{18:function(t,n,e){"use strict";e.d(n,"b",(function(){return c})),e.d(n,"a",(function(){return d}));var i=e(23),o=e(24),s=(e(19),e(0)),a=e.n(s),r=e(8),u=e.n(r),p=!1,l=a.a.createContext(null),c="entering",d="entered",h=function(t){function n(n,e){var i;i=t.call(this,n,e)||this;var o,s=e&&!e.isMounting?n.enter:n.appear;return i.appearStatus=null,n.in?s?(o="exited",i.appearStatus=c):o=d:o=n.unmountOnExit||n.mountOnEnter?"unmounted":"exited",i.state={status:o},i.nextCallback=null,i}Object(o.a)(n,t),n.getDerivedStateFromProps=function(t,n){return t.in&&"unmounted"===n.status?{status:"exited"}:null};var e=n.prototype;return e.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},e.componentDidUpdate=function(t){var n=null;if(t!==this.props){var e=this.state.status;this.props.in?e!==c&&e!==d&&(n=c):e!==c&&e!==d||(n="exiting")}this.updateStatus(!1,n)},e.componentWillUnmount=function(){this.cancelNextCallback()},e.getTimeouts=function(){var t,n,e,i=this.props.timeout;return t=n=e=i,null!=i&&"number"!=typeof i&&(t=i.exit,n=i.enter,e=void 0!==i.appear?i.appear:n),{exit:t,enter:n,appear:e}},e.updateStatus=function(t,n){void 0===t&&(t=!1),null!==n?(this.cancelNextCallback(),n===c?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},e.performEnter=function(t){var n=this,e=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[u.a.findDOMNode(this),i],s=o[0],a=o[1],r=this.getTimeouts(),l=i?r.appear:r.enter;!t&&!e||p?this.safeSetState({status:d},(function(){n.props.onEntered(s)})):(this.props.onEnter(s,a),this.safeSetState({status:c},(function(){n.props.onEntering(s,a),n.onTransitionEnd(l,(function(){n.safeSetState({status:d},(function(){n.props.onEntered(s,a)}))}))})))},e.performExit=function(){var t=this,n=this.props.exit,e=this.getTimeouts(),i=this.props.nodeRef?void 0:u.a.findDOMNode(this);n&&!p?(this.props.onExit(i),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(i),t.onTransitionEnd(e.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(i)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(i)}))},e.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},e.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},e.setNextCallback=function(t){var n=this,e=!0;return this.nextCallback=function(i){e&&(e=!1,n.nextCallback=null,t(i))},this.nextCallback.cancel=function(){e=!1},this.nextCallback},e.onTransitionEnd=function(t,n){this.setNextCallback(n);var e=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(e&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[e,this.nextCallback],s=o[0],a=o[1];this.props.addEndListener(s,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},e.render=function(){var t=this.state.status;if("unmounted"===t)return null;var n=this.props,e=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,Object(i.a)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.Provider,{value:null},"function"==typeof e?e(t,o):a.a.cloneElement(a.a.Children.only(e),o))},n}(a.a.Component);function x(){}h.contextType=l,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},h.UNMOUNTED="unmounted",h.EXITED="exited",h.ENTERING=c,h.ENTERED=d,h.EXITING="exiting";n.c=h}}]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([[0],{14:function(e,t,n){"use strict";n.r(t),n.d(t,"CSS_HANDLES",(function(){return D})),n.d(t,"default",(function(){return T}));var o=n(9),r=n(4),a=n(15),i=n(0),c=n.n(i),l=n(3),u=n.n(l),s=function(e){var t=e.children,n=e.open,o=Object(i.useRef)();return Object(i.useEffect)((function(){n&&o.current&&o.current.focus()}),[n]),c.a.createElement(c.a.Fragment,null,c.a.cloneElement(t,{ref:o}))},d=n(20),f=n(21);function p(e){var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:window.document}var m=n(6),v=n.n(m);function h(e){var t,n,o=p(e);return o.body===e?(t=o,null!==(n=p(t).defaultView)&&void 0!==n?n:window).innerWidth>o.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function y(e,t){var n=-1;return e.some((function(e,o){return!!t(e)&&(n=o,!0)})),n}function b(e){var t,n=e.container,o=[];if(h(n)){var r=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();o.push({value:n.style.paddingRight,key:"padding-right",el:n}),n.style.paddingRight="".concat((t=n,(parseInt(window.getComputedStyle(t).paddingRight,10)||0)+r),"px")}var a=n.parentElement,i="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===window.getComputedStyle(a).overflowY?a:n;o.push({value:v.a.hiddenContainer,key:"className",el:i}),i.classList.add(v.a.hiddenContainer);return function(){o.forEach((function(e){var t=e.value,n=e.el,o=e.key;"className"===o?n.classList.remove(v.a.hiddenContainer):t?n.style.setProperty(o,t):n.style.removeProperty(o)}))}}var O=function(){function e(){Object(d.a)(this,e),this.modals=[],this.closeMethods=[],this.containers=[]}return Object(f.a)(e,[{key:"add",value:function(e,t,n){var o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),this.closeMethods.push(n);var r=y(this.containers,(function(e){return e.container===t}));return-1!==r?(this.containers[r].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null}),o)}},{key:"mount",value:function(e){var t=y(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),n=this.containers[t];n.restore||(n.restore=b(n))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1!==t){var n=y(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[n];return this.modals.splice(t,1),this.closeMethods.splice(t,1),o.modals.splice(o.modals.indexOf(e),1),0===o.modals.length&&(o.restore&&o.restore(),this.containers.splice(n,1)),t}}},{key:"removeTopModal",value:function(){return 0===this.modals.length?-1:this.remove(this.modals[this.modals.length-1])}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),x=n(16);function g(e){var t=e.children,n=e.open,o=e.onClick,r=e.transitionDuration,a=e.handles,i=c.a.useRef(null);return c.a.createElement(x.a,{in:n,timeout:r,ref:i},c.a.createElement("div",{className:"".concat(a.backdropContainer," ").concat(v.a.backdropContainer),"data-testid":"modal-backdrop-container"},c.a.createElement("div",{role:"presentation",onClick:function(e){o&&o(e)},className:"".concat(a.backdrop," bg-base--inverted o-50 h-100")},t)))}var k=c.a.memo(g),w=function(){};function E(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delay,o=void 0===n?0:n,r=t.easing,a=void 0===r?u:r,i=t.duration,c=void 0===i?l:i;return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof c?c:d(c)," ").concat(a," ").concat("string"==typeof o?o:d(o))})).join(",")}var p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return Object.assign(Object.assign({},e),{open:!0});case"CLOSE_MODAL":return Object.assign(Object.assign({},e),{open:!1});case"SET_END_OF_CONTENT":return Object.assign(Object.assign({},e),{endOfContent:t.payload.endOfContent});default:return e}}function u(e){var t=e.children,n=e.initialState,u=void 0===n?void 0:n,d=Object(a.useReducer)(s,null!=u?u:r),p=Object(o.a)(d,2),f=p[0],v=p[1];return c.a.createElement(l.Provider,{value:f},c.a.createElement(i.Provider,{value:v},t))}function d(){return Object(a.useContext)(i)}function p(){var e=Object(a.useContext)(l);if(void 0===e)throw Error("useModalState must be used within a ModalStateContext");return e}},25:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValues"]},3:function(e,t){e.exports=Classnames},30:function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.modal-layout@0.14.1");var o=Object(t.register)((function(){return n(41)}),e,"vtex.modal-layout@0.14.1","vtex.modal-layout@0.x","Modal");o.renderHotReload,o.setupHMR}.call(this,n(7)(e))},41:function(e,t,n){"use strict";n.r(t);var o=n(15),a=n(0),c=n.n(a),r=n(3),l=n.n(r),i=n(5),s=n.n(i),u=n(25),d=n.n(u),p=n(11),f=n.n(p),v=n(6),b=n.n(v),_=n(14),O=n(16),x=n(2),E=n(10),m=["modal","paper","topRow","container","closeButton"].concat(Object(o.a)(_.CSS_HANDLES));function C(e){var t=e.children,n=e.classes,o=e.scroll,r=void 0===o?"content":o,i=e.customPixelEventId,u=e.customPixelEventName,p=e.disableEscapeKeyDown,v=void 0!==p&&p,C=d()({backdrop:e.backdrop,fullScreen:e.fullScreen}),j=C.fullScreen,N=void 0!==j&&j,S=C.backdrop,h=void 0===S?"clickable":S,y=s()(m,{classes:n}).handles,R=Object(x.c)().open,w=Object(x.b)();f()({eventId:i,eventName:u,handler:function(){w({type:"CLOSE_MODAL"})}});var M,k,g,D,P,L,T=function(){w&&w({type:"CLOSE_MODAL"})};M={fn:function(){w({type:"CLOSE_MODAL"})},skip:!R},k=[R,w],g=M.fn,D=M.skip,P=Object(E.useRuntime)().history,L=Object(a.useCallback)(g,k),Object(a.useEffect)((function(){if(!D)return null==P?void 0:P.listen(L)}),[D,L,P]);var A=function(e){e.target===e.currentTarget&&"clickable"===h&&T()},H=l()(y.container,"outline-0 h-100",{body:"overflow-y-auto overflow-x-hidden tc",content:"flex items-center justify-center"}[r]),I=l()(y.paper,"bg-base relative br2",N?["".concat(b.a.fullScreenModal," w-100 mw-100 br0"),{content:"h-100",body:"min-h-100"}[r]]:[b.a.paperNotFullScreen,"content"===r&&b.a.paperScrollContent],{body:"dib tl v-mid",content:"".concat(b.a.paperScrollContent," flex flex-column")}[r]);return c.a.createElement(_.default,{handles:y,open:R,backdrop:h,onClose:T,onBackdropClick:A,disableEscapeKeyDown:v},c.a.createElement(O.a,{in:R},c.a.createElement("div",{tabIndex:-1,className:H,onClick:A},c.a.createElement("div",{className:I},t))))}var j=c.a.memo(C);t.default=j},5:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},8:function(e,t){e.exports=ReactDOM}},[[30,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([["ModalHeader"],{0:function(e,t){e.exports=React},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return v}));var o=n(4),a=n(0),r=n.n(a),l={open:!1,endOfContent:!1},c=Object(a.createContext)(l),s=Object(a.createContext)((function(){}));function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return Object.assign(Object.assign({},e),{open:!0});case"CLOSE_MODAL":return Object.assign(Object.assign({},e),{open:!1});case"SET_END_OF_CONTENT":return Object.assign(Object.assign({},e),{endOfContent:t.payload.endOfContent});default:return e}}function u(e){var t=e.children,n=e.initialState,u=void 0===n?void 0:n,d=Object(a.useReducer)(i,null!=u?u:l),v=Object(o.a)(d,2),x=v[0],p=v[1];return r.a.createElement(c.Provider,{value:x},r.a.createElement(s.Provider,{value:p},t))}function d(){return Object(a.useContext)(s)}function v(){var e=Object(a.useContext)(c);if(void 0===e)throw Error("useModalState must be used within a ModalStateContext");return e}},26:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconClose"]},27:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValue"]},3:function(e,t){e.exports=Classnames},36:function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.modal-layout@0.14.1");var o=Object(t.register)((function(){return n(37)}),e,"vtex.modal-layout@0.14.1","vtex.modal-layout@0.x","ModalHeader");o.renderHotReload,o.setupHMR}.call(this,n(7)(e))},37:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),r=n(3),l=n.n(r),c=n(26),s=n.n(c),i=n(5),u=n.n(i),d=n(27),v=n.n(d),x=n(6),p=n.n(x),C=n(2),f=["headerContainer","closeButton","headerContent","closeButtonContainer"];t.default=a.a.memo((function(e){var t=e.children,n=e.iconCloseSize,o=void 0===n?32:n,r=e.showCloseButton,c=void 0===r||r,i=e.classes,d=v()(c),x=u()(f,{classes:i}).handles,_=Object(C.b)(),m=Boolean(t),O=l()(p.a.headerContainer,x.headerContainer,"flex items-start bb b--muted-3 flex-shrink-0 flex-grow-0 z-5",m?"justify-between":"justify-end");return a.a.createElement("div",{className:O},m&&a.a.createElement("div",{className:x.headerContent},t),d&&a.a.createElement("div",{className:x.closeButtonContainer},a.a.createElement("button",{onClick:function(){_&&_({type:"CLOSE_MODAL"})},className:"".concat(x.closeButton," ma0 bg-transparent pointer bw0 pa3")},a.a.createElement(s.a,{size:o,type:"line"}))))}))},5:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},6:function(e,t,n){e.exports={backdropContainer:"vtex-modal-layout-0-x-backdropContainer",paperScrollContent:"vtex-modal-layout-0-x-paperScrollContent",paperNotFullScreen:"vtex-modal-layout-0-x-paperNotFullScreen",contentScroll:"vtex-modal-layout-0-x-contentScroll",fullScreenModal:"vtex-modal-layout-0-x-fullScreenModal",headerContainer:"vtex-modal-layout-0-x-headerContainer",hiddenContainer:"vtex-modal-layout-0-x-hiddenContainer"}}},[[36,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];st.length)&&(e=t.length);for(var n=0,r=new Array(e);n");return e},c=function(e){var t=e.value,n=e.children;return o.a.createElement(a.Provider,{value:t},n)};t.default={DrawerContextProvider:c,useDrawer:i}},,function(e,t){e.exports=ReactDOM},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/applyModifiers"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconClose"]},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n.n(r),a=n(4);t.default=function(e){var t,n=e.children,r=null===(t=null===window||void 0===window?void 0:window.document)||void 0===t?void 0:t.body,i=Object(a.useSSR)();return!r||i?null:o.a.createPortal(n,r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(8),s=n.n(c),l=["overlay"],u=function(e,t){var n=e.visible,r=e.onClick,a=e.zIndex,c=void 0===a?999:a,u=i()(l),d=n?"false":"true";return o.a.createElement("div",{ref:t,"aria-hidden":d,role:"presentation",onClick:r,style:{opacity:n?.5:0,pointerEvents:n?"auto":"none",zIndex:c},className:"".concat(s()(u.overlay,n?"visible":"")," bg-base--inverted z-999 fixed top-0 bottom-0 left-0 right-0")})};t.default=o.a.forwardRef(u)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(9),s=n.n(c),l=n(5),u=["closeIconButton"];t.default=function(e){var t=e.size,n=void 0===t?30:t,r=e.type,a=void 0===r?"line":r,c=e.text,d=Object(l.useDrawer)().close,f=i()(u);return o.a.createElement("button",{className:"".concat(f.closeIconButton," pa4 pointer bg-transparent transparent bn pointer"),onClick:d},null!=c?c:o.a.createElement(s.a,{size:n,type:a}))}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixelEventCallback"]},,,,function(e,t){e.exports=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconMenu"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValue"]},,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.store-drawer@0.18.1");var r=Object(t.register)((function(){return n(36)}),e,"vtex.store-drawer@0.18.1","vtex.store-drawer@0.x","Drawer");r.renderHotReload,r.setupHMR}.call(this,n(6)(e))},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(16),a=n(3),i=n(0),c=n.n(i),s=n(17),l=n(18),u=n.n(l),d=n(2),f=n.n(d),v=n(4),p=n(13),b=n.n(p),m=n(19),x=n.n(m),O=n(10),w=n(11),_=function(){var e=Object(i.useState)(!1),t=Object(a.a)(e,2),n=t[0],r=t[1],o=Object(i.useRef)("");return Object(i.useEffect)((function(){return n&&(o.current=document.body.style.overflow),document.body.style.overflow=n?"hidden":o.current,function(){n&&(document.body.style.overflow=o.current)}}),[n]),r},E=n(12),h=n(5);function g(e){return"tagName"in e}function N(e,t){if(!e||!g(e))return!1;if("A"===String(e.tagName).toUpperCase())return!0;var n=e.parentNode;return!(!n||!g(n)||"BODY"===n.tagName.toUpperCase()||t&&n===t)&&N(n,t)}var C=c.a.lazy((function(){return n.e(0).then(n.bind(null,35))})),j={isOpen:!1,hasBeenOpened:!1};function R(e,t){switch(t.type){case"open":return Object.assign(Object.assign({},e),{isOpen:!0,hasBeenOpened:!0});case"close":return Object.assign(Object.assign({},e),{isOpen:!1});default:return e}}var y=["openIconContainer","drawer","opened","closed","moving","drawerContent","childrenContainer","closeIconContainer"];function D(e){var t,n,s,l,d,p,m=e.width,g=e.header,D=e.children,I=e.customIcon,M=e.isFullWidth,P=e.maxWidth,S=void 0===P?450:P,k=e.slideDirection,z=void 0===k?"horizontal":k,B=e.backdropMode,T=void 0===B?"visible":B,W=e.renderingStrategy,U=void 0===W?"lazy":W,F=e.customPixelEventId,H=e.customPixelEventName,J=e.onVisibilityChanged,V=e.zIndex,A=void 0===V?999:V,L=f()(y),Y=x()(T),q=Boolean(Object(v.useChildBlock)({id:"drawer-trigger"})),G=Boolean(Object(v.useChildBlock)({id:"drawer-header"})),K=(t=Object(i.useReducer)(R,j),n=Object(a.a)(t,2),s=n[0],l=n[1],d=_(),p=function(e){l({type:e?"open":"close"}),d(e)},{state:s,openMenu:function(){return p(!0)},closeMenu:function(){return p(!1)}}),Q=K.state,X=K.openMenu,Z=K.closeMenu,$=Q.isOpen,ee=Q.hasBeenOpened,te=Object(i.useState)("eager"===U),ne=Object(a.a)(te,2),re=ne[0],oe=ne[1],ae=Object(i.useState)(!1),ie=Object(a.a)(ae,2),ce=ie[0],se=ie[1];b()({eventId:F,handler:X,eventName:"openDrawer"}),b()({eventId:F,handler:X,eventName:H}),Object(i.useEffect)((function(){void 0!==J&&J($)}),[J,$]);var le="horizontal"===z||"leftToRight"===z?"left":"right",ue="left"===le?"onSwipeLeft":"onSwipeRight",de=Object(i.useMemo)((function(){return{isOpen:$,open:X,close:Z}}),[$,X,Z]),fe="visible"===Y&&$;return Object(i.useEffect)((function(){($||ee||"eager"===U)&&oe(!0)}),[ee,U,oe,$]),c.a.createElement(h.DrawerContextProvider,{value:de},c.a.createElement("div",{onClick:X,role:"presentation","aria-hidden":$?"false":"true",className:"pa4 pointer ".concat(L.openIconContainer)},q?c.a.createElement(v.ExtensionPoint,{id:"drawer-trigger"}):null!=I?I:c.a.createElement(u.a,{size:20})),c.a.createElement(O.default,null,c.a.createElement(w.default,{visible:fe,onClick:Z,zIndex:A}),c.a.createElement(i.Suspense,{fallback:c.a.createElement(c.a.Fragment,null)},c.a.createElement(C,Object(r.a)({},Object(o.a)({},ue,Z),{enabled:$,position:$?"center":le,allowOutsideDrag:!0,onUpdateOffset:function(e){se(!("0%"===e||"-100%"===e))},className:"".concat(L.drawer," ").concat($?L.opened:L.closed," ").concat(ce?L.moving:""," ").concat("right"===le?"right-0":"left-0"," fixed top-0 bottom-0 bg-base z-999 flex flex-column"),style:{width:null!=m?m:M?"100%":"85%",maxWidth:S,minWidth:280,pointerEvents:$?"auto":"none",zIndex:A}}),c.a.createElement("div",{className:"".concat(L.drawerContent," overflow-y-auto"),style:{WebkitOverflowScrolling:"touch"}},G?c.a.createElement(v.ExtensionPoint,{id:"drawer-header"}):null!=g?g:c.a.createElement("div",{className:"flex ".concat(L.closeIconContainer)},c.a.createElement(E.default,null)),c.a.createElement("div",{className:"".concat(L.childrenContainer," flex flex-grow-1"),onClick:function(e){N(e.target,e.currentTarget)&&Z()}},re?D:c.a.createElement(c.a.Fragment,null)))))))}var I=Object(s.defineMessages)({title:{id:"admin/editor.drawer.title"}});D.schema={title:I.title.id};t.default=D}],[[25,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];st.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:{},r=n.onSuccess,a=void 0===r?d:r,s=n.onFailure,p=void 0===s?d:s,v=n.onFinish,x=void 0===v?d:v,f=n.getAutoRunArgs,g=void 0===f?function(){return null}:f,m=Object(i.useState)(null),b=Object(o.a)(m,2),w=b[0],h=b[1],O=Object(i.useState)(null),C=Object(o.a)(O,2),y=C[0],P=C[1],E=Object(i.useMemo)(g,[]),I=Object(i.useState)(!!E),j=Object(o.a)(I,2),A=j[0],S=j[1],k=Object(i.useCallback)(t,e),L=Object(i.useCallback)(function(){var t=Object(u.a)(c.a.mark((function t(){var e,n=arguments;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return P(null),S(!0),t.prev=2,t.next=5,k.apply(void 0,n);case 5:return e=t.sent,h(e),P(null),a(e),t.abrupt("return",e);case 12:return t.prev=12,t.t0=t.catch(2),P(t.t0),h(null),p(t.t0),t.abrupt("return",t.t0);case 18:return t.prev=18,S(!1),x(),t.finish(18);case 22:case"end":return t.stop()}}),t,null,[[2,12,18,22]])})));return function(){return t.apply(this,arguments)}}(),[k,p,x,a]);return Object(i.useEffect)((function(){E&&L.apply(void 0,Object(l.a)(E))}),[E,L]),[L,{value:w,error:y,loading:A}]},v=n(13),x=Object(i.createContext)(null),f=function(){var t=Object(i.useContext)(x);if(!t)throw new Error('"useProfile" must be inside a Provider');return t.profile},g=function(t){var e,n,l=t.children,s=t.useLoadingState,c=Object(i.useContext)(x),u=p((function(){return Object(a.a)()}),[],{getAutoRunArgs:function(){return c?null:[]}}),d=Object(o.a)(u,2)[1],f=d.value,g=d.loading,m=null!==(e=null==c?void 0:c.profile)&&void 0!==e?e:f,b=null!==(n=null==c?void 0:c.loading)&&void 0!==n?n:g;return s&&b?r.a.createElement("div",{"data-testid":"loading-session"},r.a.createElement(v.a,null)):r.a.createElement(x.Provider,{value:{profile:m,loading:b}},l)}},20:function(t,e,n){"use strict";n.r(e),n.d(e,"LoginSchema",(function(){return o}));var o={type:"object",properties:{optionsTitle:{title:"admin/editor.login.optionsTitle",type:"string",widget:{"ui:widget":"textarea"}},emailAndPasswordTitle:{title:"admin/editor.login.emailAndPasswordTitle",type:"string",widget:{"ui:widget":"textarea"}},accessCodeTitle:{title:"admin/editor.login.accessCodeTitle",type:"string",widget:{"ui:widget":"textarea"}},emailPlaceholder:{title:"admin/editor.login.emailPlaceholder",type:"string"},passwordPlaceholder:{title:"admin/editor.login.passwordPlaceholder",type:"string"},showPasswordVerificationIntoTooltip:{title:"admin/editor.login.showPasswordVerificationIntoTooltip.title",type:"boolean",isLayout:!0},accessCodePlaceholder:{title:"admin/editor.login.accessCodePlaceholder",type:"string"},showIconProfile:{title:"admin/editor.login.showIconProfile",type:"boolean"},iconLabel:{title:"admin/editor.login.iconLabel",type:"string"},providerPasswordButtonLabel:{title:"admin/editor.login.providerPasswordButtonLabel",type:"string"},hasIdentifierExtension:{title:"admin/editor.login.hasIdentifierExtension",type:"boolean"},termsAndConditions:{title:"admin/editor.login.termsAndConditions",type:"string",widget:{"ui:widget":"textarea"}}},dependencies:{hasIdentifierExtension:{oneOf:[{properties:{hasIdentifierExtension:{enum:[!0]},identifierPlaceholder:{title:"admin/editor.login.identifierPlaceholder",type:"string"},invalidIdentifierError:{title:"admin/editor.login.invalidIdentifierError",type:"string"}}}]}}}},3:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(t,e){return e.formatMessage({id:"".concat(t)})}},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(21),i=n(69),r=n.n(i),a=function(t){var e=Object(o.compose)(o.fromPairs,Object(o.map)(Object(o.split)("=")),Object(o.split)("&"),o.tail)(t),n=e.accountAuthCookieName,i=e.accountAuthCookieValue;if(n&&i){r.a.set(n,i,{expires:1,path:"/",secure:!0});var a=t.substring(0,t.indexOf("?"));window.history.replaceState({},document.title,a),window.location.assign(window.location.origin)}}},41:function(t,e,n){"use strict";var o=n(11),i=n.n(o),r=n(17),a=function(t){var e=(null!=t?t:{}).namespaces,n=(null!=e?e:{}).profile;if(!n)return null;var o=n.email,i=(o=void 0===o?{value:null}:o).value,r=n.firstName,a=(r=void 0===r?{value:null}:r).value,l=n.isAuthenticated,s="true"===(l=void 0===l?{value:"false"}:l).value;return s&&!i?null:{email:i,firstName:a,isAuthenticated:s}},l=function(){var t=Object(r.a)(i.a.mark((function t(){var e,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o=void 0,(null===(o=null===window||void 0===window?void 0:window.__RENDER_8_SESSION__)||void 0===o?void 0:o.sessionPromise)?window.__RENDER_8_SESSION__.sessionPromise:Promise.resolve(null);case 2:return e=t.sent,n=(null!=e?e:{}).response,t.abrupt("return",a(n));case 5:case"end":return t.stop()}var o}),t)})));return function(){return t.apply(this,arguments)}}();e.a=l},5:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return c}));var o="user-identifier",i="vtex.login@2.66.0",r={POPOVER:"popover",LINK:"link"},a={RIGHT:"Right",LEFT:"Left"},l=function(){var t;return(null===(t=null===window||void 0===window?void 0:window.__RUNTIME__)||void 0===t?void 0:t.rootPath)||""},s=["fastshopbrqa1","fastshopbrqa2","fastshopbr","rubimstore"],c=function(t){return s.includes(t)}},69:function(t,e,n){!function(e){if("function"==typeof define&&define.amd&&(define(e),!0),t.exports=e(),!!0){var n=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=n,o}}}((function(){function t(){for(var t=0,e={};t=0||e.indexOf("Firefox")>=0}()&&window.location?i.a.createElement(a.Suspense,{fallback:null},i.a.createElement(R.a,{skip:!0,scope:"STORE",parentAppId:l.c},i.a.createElement(S,Object(b.a)({},e,{page:t})))):null},I=function(){window&&(window.localStorage&&localStorage.setItem("gsi_auto","false"),y()&&window.google.accounts.id.disableAutoSelect())},k=n(4),M=n(26),B=n.n(M),A=n(3),D=function(){var e,t=null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.search;return t&&URLSearchParams?new URLSearchParams(t).get("__bindingAddress"):null},U=n(12),z=n.n(U),G=n(71),F=n.n(G),H=function(e){var t=e.iconSize,n=e.labelClasses,o=e.classes;return Boolean(Object(w.useChildBlock)({id:"icon-profile"}))?i.a.createElement("div",{className:z()(n,o)},i.a.createElement(w.ExtensionPoint,{id:"icon-profile",size:t})):i.a.createElement("div",{className:z()(n,o)},i.a.createElement(F.a,{size:t}))},K=function(e){var t,n,o=e.iconSize,a=e.iconLabel,r=e.hideIconLabel,c=e.labelClasses,l=e.loginButtonAsLink,s=e.onProfileIconClick,u=e.sessionProfile,d=e.showIconProfile,p=Object(k.useIntl)(),m=Object(w.useRuntime)(),v=m.history,g=m.navigate,f=null!=u?u:{},E=f.isAuthenticated,b=f.firstName,_=f.email,h=null===(t=null==v?void 0:v.location)||void 0===t?void 0:t.pathname,x=null===(n=null==v?void 0:v.location)||void 0===n?void 0:n.search,N="flex items-center ".concat(r?"nr4":""),R=a||Object(A.a)("store/login.signIn",p),C=r?i.a.createElement(i.a.Fragment,null):E?i.a.createElement("span",{className:"".concat(O.a.profile," truncate t-action--small order-1 pl4 ").concat(c," dn db-l")},Object(A.a)("store/login.hello",p)," ",null!=b?b:_):i.a.createElement("span",{className:"".concat(O.a.label," t-action--small pl4 ").concat(c," dn db-l")},R);if(l){var T=E?"store.account":"store.login";return i.a.createElement("div",{className:O.a.buttonLink},i.a.createElement(B.a,{variation:"tertiary",icon:d&&i.a.createElement(H,{iconSize:o,labelClasses:c,classes:N}),iconPosition:d?"left":"right",onClick:function(){if(window&&URLSearchParams){var e=!E&&encodeURIComponent("".concat(h).concat(x)),t=D();return g({page:T,query:new URLSearchParams(Object.assign(Object.assign({},e&&{returnUrl:e}),t&&{bindingAddress:t})).toString()})}}},C))}return i.a.createElement(B.a,{variation:"tertiary",icon:d&&i.a.createElement(H,{iconSize:o,labelClasses:c,classes:N}),iconPosition:d?"left":"right",onClick:s},i.a.createElement("div",{className:"flex pv2 items-center"},C))},V=n(72),W=n.n(V),J=n(13),q=function(e){var t=e.children,n=e.mirrorTooltipToRight;return i.a.createElement("div",{className:"".concat(O.a.box," z-max absolute"),style:n?{left:50}:{right:-50}},i.a.createElement("div",{className:"".concat(O.a.arrowUp," absolute top-0 ").concat(n?"left-0 ml3":"right-0 mr3"," shadow-3 bg-base rotate-45 h2 w2")}),i.a.createElement("div",{className:"".concat(O.a.contentContainer," shadow-3 mt3")},t))},X=n(39),Q=n(40),Y=n(27),Z=n(42),$=n(43),ee=n(28);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(ee.a)(e);if(t){var a=Object(ee.a)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return Object($.a)(this,n)}}var ne={BLOCK:"block",FLEX:"flex",INLINE:"inline",INLINE_BLOCK:"inline-block",CONTENTS:"contents"},oe={disabled:!1,useCapture:!0,display:ne.BLOCK},ae=function(e){Object(Z.a)(n,e);var t=te(n);function n(){var e;Object(X.a)(this,n);for(var o=arguments.length,a=new Array(o),i=0;i0}),[t]),c=Object(a.useMemo)((function(){return(null!=t?t:[]).map((function(e){return e.cssClass})).filter((function(e){return e}))}),[t]),s=ue()(c),u=le()({onSuccess:Object(a.useCallback)((function(){var e;return null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.reload()}),[]),parentAppId:l.c,scope:"STORE"}),d=Object(o.a)(u,2),p=d[0],m=d[1].loading;return i.a.createElement("div",{className:"".concat(O.a.content," ").concat(O.a.content,"--accountOptions flex relative bg-base justify-around overflow-visible pa4 center items-baseline-ns items-baseline")},i.a.createElement("div",{className:"".concat(O.a.contentForm," dn ph4 ").concat(O.a.contentFormVisible," db")},i.a.createElement("div",null,i.a.createElement("div",{className:"".concat(O.a.accountOptions," items-center w-100")},i.a.createElement("div",{className:"mv4 min-h-2 b--muted-4"},r?i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"".concat(O.a.accountOptionsSectionTitle," t-small b mb3")},Object(A.a)("store/login.myAccount",n)),null==t?void 0:t.map((function(e,t){var n=e.label,o=e.path,a=e.cssClass,r=new URL(o||"/",window.location.href);return i.a.createElement(w.Link,{className:"".concat(s[a]||""," db no-underline t-small c-muted-1 hover-c-action-primary pv3"),key:t,to:"".concat(r.pathname).concat(r.search).concat(r.hash)},n)}))):i.a.createElement(w.Link,{page:"store.account"},i.a.createElement("button",{className:"".concat(O.a.button," bw1 ba ttu br2 t-action--small v-mid relative pv3 ph5 t-heading-5 bg-base b--transparent c-action-primary hover-c-action-primary pointer")},i.a.createElement("span",{className:"t-action--small"},Object(A.a)("store/login.myAccount",n))))),i.a.createElement("hr",{className:"mv2 o-30"}),i.a.createElement("div",{className:"mv4 min-h-2 b--muted-4"},r?i.a.createElement(me,{className:O.a.logoutButton,onClick:function(){I(),p()},loading:m},Object(A.a)("store/login.logoutLabel",n)):i.a.createElement(re.a,{variation:"tertiary",size:"small",onClick:function(){I(),p()},isLoading:m},i.a.createElement("span",{className:"t-action--small"},Object(A.a)("store/login.logoutLabel",n))))))))},ge=i.a.lazy((function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,68))})),fe=function(e){var t=e.isBoxOpen,n=e.onOutSideBoxClick,o=d(),r=o.mirrorTooltipToRight,c=o.accountOptionLinks,l=Object(m.b)(),s=Object(v.b)(),u=(null!=s?s:{}).isAuthenticated;return t?i.a.createElement(W.a,null,i.a.createElement(ae,{onOutsideClick:n},i.a.createElement(q,{mirrorTooltipToRight:r},i.a.createElement(a.Suspense,{fallback:i.a.createElement(J.a,null)},u?i.a.createElement(ve,{optionLinks:c}):i.a.createElement(ge,Object(b.a)({},l,{isInitialScreenOptionOnly:!0,isHeaderLogin:!0})))))):i.a.createElement(i.a.Fragment,null)},Oe=function(){var e=d(),t=e.hideIconLabel,n=e.iconLabel,r=e.iconSize,c=e.showIconProfile,s=e.hasGoogleOneTap,u=e.googleOneTapAlignment,p=e.googleOneTapMarginTop,m=e.accountOptionsButtonBehavior,g=e.labelClasses,f=e.logInButtonBehavior,b=Object(a.useState)(!1),_=Object(o.a)(b,2),h=_[0],x=_[1],w=Object(a.useState)(!1),N=Object(o.a)(w,2),R=N[0],C=N[1],T=Object(v.b)(),P=Object(a.useCallback)((function(){window.innerWidth<640?C(!0):C(!1)}),[]);Object(a.useEffect)((function(){return window.addEventListener("resize",P),P(),function(){window.removeEventListener("resize",P)}}),[P]),Object(a.useEffect)((function(){window.location.href.indexOf("accountAuthCookieName")>0&&Object(E.a)(window.location.href)}),[]);var L=Object(a.useCallback)((function(){return x((function(e){return!e}))}),[]),y=Object(a.useCallback)((function(){return x(!1)}),[]),S=l.a.LINK,I=(null!=T?T:{}).isAuthenticated,k=R||(I?m===S:f===S);return i.a.createElement("div",{className:"".concat(O.a.container," flex items-center fr")},i.a.createElement("div",{className:"relative"},i.a.createElement(K,{onProfileIconClick:L,sessionProfile:T,hideIconLabel:t,iconLabel:n,iconSize:r,labelClasses:g,loginButtonAsLink:k,showIconProfile:c}),s&&i.a.createElement(j,{alignment:u,marginTop:p,shouldOpen:!I}),i.a.createElement(fe,{isBoxOpen:h,onOutSideBoxClick:y})))},Ee=function(e){var t=e.accountOptionsButtonBehavior,n=e.googleOneTapAlignment,o=e.googleOneTapMarginTop,a=e.hasGoogleOneTap,r=e.hideIconLabel,l=e.iconLabel,s=e.iconSize,u=e.labelClasses,d=e.logInButtonBehavior,g=e.mirrorTooltipToRight,f=e.showIconProfile,O=e.defaultOption,E=e.accessCodePlaceholder,b=e.accessCodeTitle,_=e.disabledEmailInputs,h=e.accountOptionLinks,x=e.emailAndPasswordTitle,w=e.emailPlaceholder,N=e.identifierPlaceholder,R=e.invalidIdentifierError,C=e.isInitialScreenOptionOnly,T=e.optionsTitle,P=e.passwordPlaceholder,L=e.providerPasswordButtonLabel,y=e.showPasswordVerificationIntoTooltip,S=e.termsAndConditions,j=e.blockOAuthAutoRedirect;return i.a.createElement(c.a,null,i.a.createElement(v.a,null,i.a.createElement(p,{value:{accountOptionsButtonBehavior:t,googleOneTapAlignment:n,googleOneTapMarginTop:o,hasGoogleOneTap:a,hideIconLabel:r,iconLabel:l,iconSize:s,labelClasses:u,logInButtonBehavior:d,mirrorTooltipToRight:g,showIconProfile:f,accountOptionLinks:h}},i.a.createElement(m.a,{value:{defaultOption:O,accessCodePlaceholder:E,accessCodeTitle:b,disabledEmailInputs:_,emailAndPasswordTitle:x,emailPlaceholder:w,identifierPlaceholder:N,invalidIdentifierError:R,isInitialScreenOptionOnly:C,optionsTitle:T,passwordPlaceholder:P,providerPasswordButtonLabel:L,showPasswordVerificationIntoTooltip:y,termsAndConditions:S,blockOAuthAutoRedirect:j}},i.a.createElement(Oe,null)))))};Ee.getSchema=function(){return Object.assign(Object.assign({title:"admin/editor.login.title"},g.LoginSchema),{properties:Object.assign(Object.assign({},g.LoginSchema.properties),{mirrorTooltipToRight:{title:"admin/editor.login.mirrorTooltipToRightTitle",type:"boolean",default:!1},logInButtonBehavior:{title:"admin/editor.login.logInButtonBehavior",type:"string",enum:[l.a.POPOVER,l.a.LINK],default:l.a.POPOVER},accountOptionsButtonBehavior:{title:"admin/editor.login.accountOptionsButtonBehavior",type:"string",enum:[l.a.POPOVER,l.a.LINK],default:l.a.POPOVER},accountOptionLinks:{title:"admin/editor.login.accountOptionLinks",type:"array",items:{type:"object",properties:{label:{title:"admin/editor.login.accountOptionLabelTitle",type:"string"},path:{title:"admin/editor.login.accountOptionPathTitle",type:"string"},cssClass:{title:"admin/editor.login.accountOptionCssClassTitle",type:"string"}}}},hasGoogleOneTap:{title:"admin/editor.login.googleOneTap.title",type:"boolean"},hideIconLabel:{title:"admin/editor.login.hideIconLabel",type:"boolean",default:!1}}),dependencies:Object.assign(Object.assign({},g.LoginSchema.dependencies),{hasGoogleOneTap:{oneOf:[{properties:{hasGoogleOneTap:{enum:[!0]},googleOneTapAlignment:{title:"admin/editor.login.googleOneTap.alignment",type:"string",enum:[l.b.RIGHT,l.b.LEFT],default:l.b.RIGHT},googleOneTapMarginTop:{title:"admin/editor.login.googleOneTap.marginTop",type:"string",default:"3rem"}}}]}})})},Ee.uiSchema={"ui:order":["*","hasIdentifierExtension","identifierPlaceholder","invalidIdentifierError","accountOptionLinks","hasGoogleOneTap","googleOneTapAlignment","googleOneTapMarginTop"]};var be=Ee},19:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/validations"]},21:function(e,t){e.exports=R},22:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Spinner"]},25:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/AuthStateLazy"]},26:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ButtonWithIcon"]},29:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/RecaptchaProvider"]},30:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useRedirectAfterLogin"]},31:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSendAccessCode"]},32:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/AuthServiceLazy"]},4:function(e,t){e.exports=ReactIntl},49:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useGetPhoneNumberByEmail"]},50:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconArrowBack"]},51:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogInWithAccessKey"]},52:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSetPassword"]},53:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconEyeSight"]},54:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogInWithPassword"]},55:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/RadioGroup"]},56:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSendAccessKey"]},57:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/getAbsReturnUrl"]},58:function(e,t){e.exports=regeneratorRuntime},6:function(e,t){e.exports=__RENDER_8_RUNTIME__},67:function(e,t){e.exports=PropTypes},70:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useStartLoginAttempt"]},71:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconProfile"]},72:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-portal@0.x/Overlay"]},73:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogOut"]},74:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},77:function(e,t,n){"use strict";n.r(t),function(e){var t=n(15);n.p=Object(t.getPublicPath)("vtex.login@2.66.0");var o=Object(t.register)((function(){return n(163)}),e,"vtex.login@2.66.0","vtex.login@2.x","Login");o.renderHotReload,o.setupHMR}.call(this,n(34)(e))},8:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Button"]}},[[77,"common",1]]]); },function(){ (window.webpackJsonpvtex_login_2_66_0=window.webpackJsonpvtex_login_2_66_0||[]).push([["Wrapper"],{0:function(n,t){n.exports=React},164:function(n,t,e){"use strict";e.r(t),e.d(t,"default",(function(){return i}));var r=e(0),o=e.n(r),i=function(n){var t=n.children;return o.a.createElement(o.a.Fragment,null,t)}},78:function(n,t,e){"use strict";e.r(t),function(n){var t=e(15);e.p=Object(t.getPublicPath)("vtex.login@2.66.0");var r=Object(t.register)((function(){return e(164)}),n,"vtex.login@2.66.0","vtex.login@2.x","Wrapper");r.renderHotReload,r.setupHMR}.call(this,e(34)(n))}},[[78,"common"]]]); },function(){ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){e.exports=React},function(e,t,n){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:b,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:b,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:b,lheading:/^([^\n]+)\n {0,3}(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||k.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=p(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,s,a,o,l,c,u,h,p,g,d,f,b,m,v;for(e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e)){var k=this.tokens[this.tokens.length-1];e=e.substring(s[0].length),k&&"paragraph"===k.type?k.text+="\n"+s[0].trimRight():(s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?s:_(s,"\n")}))}else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(l={type:"table",header:x(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(s[0].length),g=0;g ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),c={type:"list_start",ordered:b=(a=s[2]).length>1,start:b?+a:"",loose:!1},this.tokens.push(c),u=[],r=!1,f=(s=s[0].match(this.rules.item)).length,g=0;g1?1===o.length:o.length>1||this.options.smartLists&&o!==a)&&(e=s.slice(g+1).join("\n")+e,g=f-1)),i=r||/\n\n(?!\s*$)/.test(l),g!==f-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),i&&(c.loose=!0),v=void 0,(m=/^\[[ xX]\] /.test(l))&&(v=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),h={type:"list_item_start",task:m,checked:v,loose:i},u.push(h),this.tokens.push(h),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(f=u.length,g=0;g?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:b,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:b,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",i.em=p(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=p(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=p(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=p(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=p(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:p(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0];else if(a=this.rules.link.exec(e)){var c=v(a[2],"()");if(c>-1){var h=a[0].length-(a[2].length-c)-(a[3]||"").length;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,h).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:s.escapes(r),title:s.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(u(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=u(this.mangle(a[1]))):n=u(a[1]),l+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?l+=this.renderer.text(a[0]):l+=this.renderer.text(u(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=u(a[0]));else{do{o=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(o!==a[0]);n=u(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),l+=this.renderer.link(r,null,n)}return l},s.escapes=function(e){return e?e.replace(s.rules._escapes,"$1"):e},s.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},s.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},s.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
'+(n?e:u(e,!0))+"
\n":"
"+(n?e:u(e,!0))+"
"},a.prototype.blockquote=function(e){return"
\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},a.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},a.prototype.checkbox=function(e){return" "},a.prototype.paragraph=function(e){return"

    "+e+"

    \n"},a.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},a.prototype.tablerow=function(e){return"\n"+e+"\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+""},a.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(null===(e=g(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"},a.prototype.image=function(e,t,n){if(null===(e=g(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},a.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new s(e.links,this.options),this.inlineText=new s(e.links,m({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop(),this.token},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,h(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",s="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var d={},f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(){}function m(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+u(e.message+"",!0)+"
    ";throw e}}b.exec=b,k.options=k.setOptions=function(e){return m(k.defaults,e),k},k.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},k.defaults=k.getDefaults(),k.Parser=l,k.parser=l.parse,k.Renderer=a,k.TextRenderer=o,k.Lexer=r,k.lexer=r.lex,k.InlineLexer=s,k.inlineLexer=s.output,k.Slugger=c,k.parse=k,e.exports=k}(this||("undefined"!=typeof window?window:global))},function(e,t,n){"use strict";var r={"&":"&","<":"<",">":">",'"':""","'":"'"},i={"&":"&","<":"<",">":">",""":'"',"'":"'"},s=/(&|<|>|"|')/g,a=/[&<>"']/g;function o(e){return r[e]}function l(e){return i[e]}function c(e){return null==e?"":String(e).replace(a,o)}function u(e){return null==e?"":String(e).replace(s,l)}c.options=u.options={},e.exports={encode:c,escape:c,decode:u,unescape:u,version:"1.0.0-browser"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var r="__RENDER_8_RUNTIME__",i="__RENDER_8_COMPONENTS__",s=!("undefined"==typeof window||!window.document);s&&!window.global&&(window.global=window),window[i]=window[i]||{},t.register=function(e,t,n,s,a){var o="".concat(n,"/").concat(a),l="".concat(s,"/").concat(a),c=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,o)};if(window[r]&&window[r].registerComponent){var u=!!window.__RENDER_LAZY__;window[r].registerComponent(t,u?c:c(),n,a,u)}else{var h=c();window[r]&&window[r].withHMR?window[i][o]=window[i][l]=window[r].withHMR(t,h):window[i][o]=window[i][l]=h}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return s&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},function(e,t,n){"use strict";e.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},function(e,t,n){"use strict";var r=n(6);e.exports={uris:r(["background","base","cite","href","longdesc","src","usemap"])}},function(e,t,n){"use strict";function r(e,t){return e[t]=!0,e}e.exports=function(e){return e.reduce(r,{})}},function(e,t,n){"use strict";var r=n(6);e.exports={voids:r(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},function(e,t){e.exports=ReactIntl},function(e,t,n){"use strict";var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var s="",a=0,o=0;for(a=i.index;a\s]+))?)*)\s*(\/?)\s*>/,o=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,c=/^/i,h=/^<\s*\//;e.exports=function(e,t){for(var n,p=function(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}(),g=e;e;)d();function d(){n=!0,function(){"\x3c!--"===e.substr(0,4)?(i=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):u.test(e)?(r=e.match(u),n=!1,e=e.substring(r[0].length)):h.test(e)?f(o,m):c.test(e)&&f(a,b);var r;var i;!function(){if(!n)return;var r,i=e.indexOf("<");i>=0?(r=e.substring(0,i),e=e.substring(i)):(r=e,e="");t.chars&&t.chars(r)}()}();var r=e===g;g=e,r&&(e="")}function f(t,r){var i=e.match(t);i&&(e=e.substring(i[0].length),i[0].replace(t,r),n=!1)}function b(e,n,a,o){var c={},u=i(n),h=s.voids[u]||!!o;a.replace(l,(function(e,t,n,i,s){c[t]=void 0===n&&void 0===i&&void 0===s?void 0:r.decode(n||i||s||"")})),h||p.push(u),t.start&&t.start(u,c,h)}function m(e,n){var r,s=0,a=i(n);if(a)for(s=p.length-1;s>=0&&p[s]!==a;s--);if(s>=0){for(r=p.length-1;r>=s;r--)t.end&&t.end(p[r]);p.length=s}}m()}},function(e,t,n){"use strict";var r=n(2),i=n(4),s=n(5),a=n(7);e.exports=function(e,t){var n,o=t||{};return h(),{start:function(e,t,a){var u=i(e);if(n.ignoring)return void c(u);if(-1===(o.allowedTags||[]).indexOf(u))return void c(u);if(o.filter&&!o.filter({tag:u,attrs:t}))return void c(u);l("<"),l(u),Object.keys(t).forEach((function(e){var n=t[e],a=(o.allowedClasses||{})[u]||[],c=(o.allowedAttributes||{})[u]||[];c=c.concat((o.allowedAttributes||{})["*"]||[]);var h=i(e);("class"===h&&-1===c.indexOf(h)?(n=n.split(" ").filter((function(e){return a&&-1!==a.indexOf(e)})).join(" ").trim()).length:-1!==c.indexOf(h)&&(!0!==s.uris[h]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var r=e.indexOf("?");if(-1!==r&&n>r)return!0;var i=e.indexOf("#");if(-1!==i&&n>i)return!0;return o.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(l(" "),l(e),"string"==typeof n&&(l('="'),l(r.encode(n)),l('"')))})),l(a?"/>":">")},end:function(e){var t=i(e);-1!==(o.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(l("")):u(t)},chars:function(e){!1===n.ignoring&&l(o.transformText?o.transformText(e):e)}};function l(t){e.push(t)}function c(e){a.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function u(e){n.ignoring===e&&--n.depth<=0&&h()}function h(){n={ignoring:!1,depth:0}}}},function(e,t,n){"use strict";e.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat(e,"

    ")},I.current.strong=function(e){return'').concat(e,"")},I.current.em=function(e){return'').concat(e,"")},I.current.heading=function(e){return function(t,n){var r=function(e){return e>0&&e<=6?e:6}(n),i="".concat(e.heading," t-heading-").concat(r," ").concat(function(e,t){return 1===t?e.headingLevel1:2===t?e.headingLevel2:3===t?e.headingLevel3:4===t?e.headingLevel4:5===t?e.headingLevel5:6===t?e.headingLevel6:""}(e,r)," ").concat(A.a["heading-level-".concat(r)]);return"').concat(t,"")}}(E),I.current.link=function(e,t,n){var r,s=(r=e.split("?")).length<2?"":i(r,2)[1].includes("target=_blank")?"target=_blank":"",a=(s?e.replace(/target=_blank/,"").replace(/\?&/,"?"):e).replace(/(\?|&)$/,""),o=t?'title="'.concat(t,'"'):"",l='
    ")},I.current.html=function(e){return d()(e)},I.current.table=function(e,t){return'\n \n \n ').concat(e,'\n \n \n ').concat(t,"\n \n
    ")},I.current.tablerow=function(e){return"\n").concat(e,"\n")},I.current.tablecell=function(e,t){var n=t.header?"th":"td",r="<".concat(n,' class="').concat("th"===n?E.tableTh:E.tableTd,'"\n ').concat(t.align?' align="'.concat(t.align,'"'):"",">");return"".concat(r+e,"\n")},I.current.image=function(e,t,n){return'').concat(n,'")},I.current.list=function(e,t){var n=t?"ol":"ul";return"<".concat(n,' class="').concat(E.list," ").concat(t?E.listOrdered:"",'">').concat(e,"")},I.current.listitem=function(e){return'
  • ').concat(e,"
  • ")});var H=C(N,f,"textAlignment"),F=C(P,o,"textPosition"),G=C(L,o,"textPosition"),D=Object(l.useMemo)((function(){return p.a.setOptions({gfm:!0,breaks:!0,sanitize:!1,smartLists:!0,renderer:I.current}),b()(p()(y()({id:s,intl:T})),z)}),[s,T]);return c.a.createElement("div",{id:k,className:"".concat(E.container," flex ").concat(H," ").concat(F," ").concat(G," ").concat(M(q)," ").concat(Z(_))},c.a.createElement("div",{className:E.wrapper,dangerouslySetInnerHTML:{__html:D}}))}var H=Object(l.memo)(q);H.schema={title:"admin/editor.rich-text.title"};t.default=H}]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];st.length)&&(e=t.length);for(var n=0,r=new Array(e);n